cmake_minimum_required(VERSION 3.12)
project(untitled)
set(CMAKE_BUILD_TYPE release)
set(CPP_LIBRARIES_PATH "C:/Users/xd15zhn/Documents/cpplibraries")
list(APPEND CMAKE_PREFIX_PATH ${CPP_LIBRARIES_PATH})
add_executable(${CMAKE_PROJECT_NAME}
    main.cpp
    camera.c
    ../plantcpp/quaternions.cpp
)
find_package(raylib REQUIRED)
find_package(zhnmat REQUIRED)
message(STATUS "raylib_VERSION: ${raylib_VERSION}")
message(STATUS "raylib_LIBS: ${raylib_LIBS}")
message(STATUS "raylib_INCLUDE_DIRS: ${raylib_INCLUDE_DIRS}")
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC ${raylib_LIBS} ${zhnmat_LIBS} opengl32)
target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC
    ${raylib_INCLUDE_DIRS}
    ${zhnmat_INCLUDE_DIRS}
    ../plantcpp
)
